package cmo.neutech.day10.HomeWork.d3;

public class Shape {
    double area;
    double per;
    String color;
    public Shape(){};
    public Shape(String color){
        this.color = color;
    }
    public double getArea(){
        return 0;
    }
    public double getPer(){
        return 0;
    }
    public String getColor(){
        return color;
    }
    public void showAll(){
        System.out.println("颜色："+color+"，面积："+getArea()+"，周长："+getPer());
    }
}
